#include "mybutton.h"
#include <QDebug>
#include <iostream>
mybutton::mybutton(QWidget *parent) : QPushButton(parent)
{

}
void test(){
    std::cout<<"你好"<<std::endl;
}
mybutton::~mybutton()
{
test();
qDebug()<<"mybtn析构";

}

